package com.huirui.server.service;

import com.huirui.server.pojo.dto.BrandDto;
import com.huirui.server.pojo.entity.Brand;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huirui.server.pojo.result.PageResult;
import com.huirui.server.pojo.vo.BrandDetailVo;
import com.huirui.server.pojo.vo.BrandWithLetterVo;

import java.util.List;

/**
* @author yujun
* @description 针对表【t_brand】的数据库操作Service
* @createDate 2025-11-07 22:51:28
*/
public interface BrandService extends IService<Brand> {

    void addNewBrand(BrandDto brandDto);

    PageResult<Brand> listBrand(String brandName, int page, int pageSize);

    void deleteBrand(Long id);

    void updateBrand(BrandDto brandDto);

    BrandDetailVo getBrandDetailInfo(Long brandId);

    List<BrandWithLetterVo> listBrandWithLetter();

}
